package com.cct.digitalarchapi.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cct.digitalarchapi.common.Response;
import com.cct.digitalarchapi.pojo.DigitalArchFiles;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface DigitalArchFilesMapper extends BaseMapper<DigitalArchFiles> {

    void addFileRec(DigitalArchFiles digitalArchFiles);

    List<DigitalArchFiles> queryFilesById(@Param("archMainCode") String archMainCode);

    void updateDownloadTime(@Param("archFilesId") String archFilesId);

    DigitalArchFiles queryFile(@Param("archFilesId") String archFilesId);


}
